package com.chzu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.chzu.pojo.QuestionPaper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author lz
 * @Version 1.0
 * @Company 滁州大健康与养老产业研究院
 * @ClassName QuestionPaperMapper
 * @Description TODO
 * @Date 2022/02/22 17:34
 */
public interface QuestionPaperMapper extends BaseMapper<QuestionPaper> {

    /**
     * 批量插入试题信息
     * @param questionId 试题id的集合
     * @param paperId 试卷id
     * @return 受影响的行数
     */
    int createPaper(@Param("paperId") String paperId,@Param("questionId") List<String> questionId);
}
